package com.tanjun.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ActStatusEnum  {

    NEW(1, "新建"),
    SUBMIT(2, "提交"),
    VALID(3, "审核通过"),
    CANCEL(4, "作废");
    @JsonValue
    private Integer code;
    private String name;//名称


    /**
     * 枚举数据库存储值
     */

    public Integer getValue() {
        return code;
    }


}
